package core;

import java.io.Writer;
import java.util.HashSet;
import java.util.Set;

public class GoogleSearchTag implements ISiteMapper {

    @HtmlMapper(xpath = "//a[contains(@href, 'productdetail.php')]/@href")
    Set<String> links = new HashSet<String>();

    public Set<String> getLinks() {
        return links;
    }

    public void setLinks(Set<String> links) {
        this.links = links;
    }

    public void addLinks(String links) {
        this.links.add(links);
    }

    @Override
    public void generateScript(Writer out) {
        // TODO Auto-generated method stub

    }

}
